Skip to content

fix design#516

Merged
dvCodeWorld merged 3 commits intodevelopmentfrom
P0080-clean
Apr 1, 2026
Merged

fix design#516
dvCodeWorld merged 3 commits intodevelopmentfrom
P0080-clean

Conversation

@Saurabh186
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other comments (1)

💡 To request another review, post a new comment with "/windsurf-review".

<mat-slide-toggle
[formControl]="featureForm.get('serviceDetails')?.at(row.index)?.get('is_enable')"
color="primary"
disabled="true"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The disabled attribute should use property binding syntax for Angular Material components.

Suggested change
disabled="true"
[disabled]="true"


<ng-template #configureMethodFormContent let-serviceForm="serviceForm">
<div class="flex flex-col grow card-with-header" [class.border]="!serviceForm">
<div class="flex flex-col grow" [class]="!serviceForm ? 'border card-with-header' : ''">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using Angular's more readable class binding syntax:

Suggested change
<div class="flex flex-col grow" [class]="!serviceForm ? 'border card-with-header' : ''">
<div class="flex flex-col grow" [ngClass]="{'border card-with-header': !serviceForm}">

</div>
} @if (serviceForm ?? featureForm.get('serviceDetails')?.at(selectedServiceIndex); as formToUse) {
<div class="bg-color flex flex-col gap-3" [class.p-4]="!serviceForm">
<div class="flex flex-col gap-3" [class]="!serviceForm ? 'p-4 bg-color' : ''">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using Angular's more readable class binding syntax:

Suggested change
<div class="flex flex-col gap-3" [class]="!serviceForm ? 'p-4 bg-color' : ''">
<div class="flex flex-col gap-3" [ngClass]="{'p-4 bg-color': !serviceForm}">

@dvCodeWorld dvCodeWorld merged commit 491ae52 into development Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants